<?PHP

wp_footer();
echo '</body></html>';



function op_footer()
{
	echo '<div id="footer">',
	 '<div class="hd"><div class="hc"></div></div>',
	 '<div class="bd"><div class="bc">',
	 '<div class="s">';
	
	do_action('op_footer_content');
	do_action('op_footer_signature');
	do_action('op_footer_debug');
	
	echo '</div>',
	 '</div></div>',
	 '<div class="ft"><div class="fc"></div></div>',
		
	 '</div>',
	 '</div>';
}	

function op_footer_content()
{
	global $OnePress;
	echo $OnePress->render_footer();
	echo '<span class="forclear"></span>';	
}

function op_footer_signature()
{
	echo '<p class="signature"><b>',
		  bloginfo('name'), 
		  '</b> is powered by <a href="http://wordpress.org/">WordPress</a>',
		  ' and <a href="http://www.onepresscommunity.com">OnePress Community</a>',
		  '<br /><a href="', bloginfo('rss2_url'), '"> Blog (RSS)</a>',
		  ' and <a href="', bloginfo('comments_rss2_url'), '">Comments (RSS)</a>',
		  '</p>';
}

function op_footer_debug()
{
	echo '<p class="debug">', get_num_queries(), ' queries, ', timer_stop(), ' seconds.</p>';
}

?>




